#!/usr/bin/env bash

string="70 73 00 00"

reverse_str=`echo | awk '{
lens=split(v1, tA, " ");
for(i=lens; i>=1;i--){
	printf tA[i];		
}
}
' v1="$1"`
echo $((16#$reverse_str)) 


echo "print(int(\"\".join(\""$1"\".split(" ")[::-1]), 16))" | python


python <<EOF
lst = "$1".split(" ")
reverse_str = "".join(lst[::-1])
print(int(reverse_str, 16))
EOF

# output=29552
